/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.ekuma.epos.bean.util;

import com.openbravo.format.Formats;
import com.openbravo.bean.shard.IncludeTaxs;

/**
 *
 * @author Administrator
 */
public class TaxsHelper {

    public static String printSubTotal(IncludeTaxs t) {
        return Formats.CURRENCY.formatValue(new Double(t.getSubTotal()));
    }
    public static String printTax(IncludeTaxs t) {
        return Formats.CURRENCY.formatValue(new Double(t.getTax()));
    }
    public static String printTotal(IncludeTaxs t) {
        return Formats.CURRENCY.formatValue(new Double(t.getTotal()));
    }
}
